package com.friday.bean;

public class Invoicedtl {

    public Integer id;
    public Integer invoice_id;
    public Integer goods_id;
    public double price;
    public int amount;
    public float tax;

    public Invoicedtl() {
    }

    public Invoicedtl(Integer id, Integer invoice_id, Integer goods_id, double price, int amount, float tax) {
        this.id = id;
        this.invoice_id = invoice_id;
        this.goods_id = goods_id;
        this.price = price;
        this.amount = amount;
        this.tax = tax;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getInvoice_id() {
        return invoice_id;
    }

    public void setInvoice_id(Integer invoice_id) {
        this.invoice_id = invoice_id;
    }

    public Integer getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public float getTax() {
        return tax;
    }

    public void setTax(float tax) {
        this.tax = tax;
    }

    @Override
    public String toString() {
        return "Invoicedtl{" +
                "id=" + id +
                ", invoice_id=" + invoice_id +
                ", goods_id=" + goods_id +
                ", price=" + price +
                ", amount=" + amount +
                ", tax=" + tax +
                '}';
    }
}
